angular.module('start.common.welcome.ctrl', [])

  .controller('WelcomeCtrl', function($scope, $rootScope, $location) {

    // $rootScope.useRecord = $$LocalStorage.getObj("useRecord") || { times: 0, firstTime: new Date().getTime() };


    $scope.welcomes = [
      { id: 1, title: "是向导，也是朋友", src: "img/welcome/01.jpg" },
      { id: 1, title: "我的家乡，你的向往", src: "img/welcome/02.jpg" },
      { id: 1, title: "美好旅行，源于责任", src: "img/welcome/03.jpg" }
    ];

    $scope.startapp = function() {
      $location.path("tab/home");
    };

  });
